num = eval(input('请输入数字'))
# num = 1
while num <  6:
    print('当前数字是：',num)
    num = num + 1


#continue
count = 1
lst = []
while count < 10:
    if count%2 == 0:
        count = count + 1
        continue
    else:
        lst.append(count)
    count = count + 1
print(lst) # [1, 3, 5, 7, 9]

n = 1
lst2 = []
while n <10:
    if n%2 == 0:
        break
    else:
        lst2.append(n)
    n = n + 1
print(lst2) # [1]

